package cn.iocoder.yudao.module.pay.controller.admin.collect.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;

@Schema(description = "管理后台 - 收款账户信息 Response VO")
@Data
@ExcelIgnoreUnannotated
public class PayCollectInfoRespVO {

    @Schema(description = "主键", requiredMode = Schema.RequiredMode.REQUIRED, example = "4738")
    @ExcelProperty("主键")
    private Long id;

    @Schema(description = "收款方式：2-银行卡，3-微信，4-支付宝", requiredMode = Schema.RequiredMode.REQUIRED, example = "2")
    @ExcelProperty("收款方式：2-银行卡，3-微信，4-支付宝")
    private Integer type;

    @Schema(description = "账号（银行卡号/微信支付宝账号）")
    @ExcelProperty("账号（银行卡号/微信支付宝账号）")
    private String accountNo;

    @Schema(description = "户名", example = "张三")
    @ExcelProperty("户名")
    private String accountName;

    @Schema(description = "银行地址")
    @ExcelProperty("银行地址")
    private String bankAddr;

    @Schema(description = "银行名称（仅银行卡类型时生效）", example = "赵六")
    @ExcelProperty("银行名称（仅银行卡类型时生效）")
    private String bankName;

    @Schema(description = "收款码URL（仅微信/支付宝时生效）", example = "https://www.iocoder.cn")
    @ExcelProperty("收款码URL（仅微信/支付宝时生效）")
    private String accountQrUrl;

    @Schema(description = "状态：0-待审核，1-已启用，2-已禁用", example = "2")
    @ExcelProperty("状态：0-待审核，1-已启用，2-已禁用")
    private Integer status;

    @Schema(description = "创建时间")
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

}